import React, { FC } from "react";
import { Button, ButtonProps } from "../index";
import "@/styles/index.scss";

const Example: FC<ButtonProps> = ({
  disabled = false,
  onClick = () => {},
  primary = true,
  children,
}) => {
  return (
    <div
      style={{
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        height: "90%",
      }}
    >
      <Button disabled={disabled} onClick={onClick} primary={primary}>
        {children}
      </Button>
    </div>
  );
};

export default Example;
